
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Pig;
import cn.edu.scau.cmi.hombio.domain.PigWeight;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for PigWeight entities
 * 
 */
public interface PigWeightService {

	/**
	* Delete an existing Pig entity
	* 
	 */
	public PigWeight deletePigWeightPig(Integer pigweight_id, Integer related_pig_id);

	/**
	 */
	public PigWeight findPigWeightByPrimaryKey(Integer id);

	/**
	* Save an existing PigWeight entity
	* 
	 */
	public void savePigWeight(PigWeight pigweight);

	/**
	* Return all PigWeight entity
	* 
	 */
	public List<PigWeight> findAllPigWeights(Integer startResult, Integer maxRows);

	/**
	* Return a count of all PigWeight entity
	* 
	 */
	public Integer countPigWeights();

	/**
	* Save an existing Pig entity
	* 
	 */
	public PigWeight savePigWeightPig(Integer id_1, Pig related_pig);

	/**
	* Delete an existing PigWeight entity
	* 
	 */
	public void deletePigWeight(PigWeight pigweight_1);

	/**
	* Load an existing PigWeight entity
	* 
	 */
	public Set<PigWeight> loadPigWeights();
}